home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
PD
/
MATHS
/
RLAB
/
RLAB125.ZIP
/
!RLaB
/
help_jr
/
rfile
< prev
next >
Wrap
Text File
|
1994-12-20
|
2KB
|
56 lines
rfile:
Syntax: rfile
rfile NAME
rfile NAME1 NAME2 ...
Description:
rfile : Prints a list of all the files with a `.r' suffix. The
list is compiled by searching the directories
contained in the environment variable
`RLAB_SEARCH_PATH'.
rfile NAME : Loads the contents of the file denoted by NAME
into the workspace. The NAME argument is NOT a string,
and does not have to include the `.r' suffix.
Allowable names for rfiles are filenames that start
with:
A digit, or a letter (a-z or A-Z).
and contain:
digits, letters, and/or `-' `_' `.'
You may not be able to use all the possible filenames
allowed by the host operating system.
If the user's environment does not contain RLAB_SEARCH_PATH,
then the default search-path is used. The default is set at
compile time. Normally the default is ".", the current working
directory.
Rfile is a command, not an expression or statement. Therefore,
it must be issued on a line by itself, and cannot occur in the
midst of another statement or expression. See `help COMMAND'.
The rfile command cannot be continued across lines (no
continuations).
The command `rfile name' can be used more than once. Each time
the command is issued the file `name.r' is loaded.
The rfile command tries to be friendly. If you give it a
string without the `.r' extension, it will automatically add
one for you. If you give is a string with the `.r' extension,
it will leave it alone.
The contents of the named file can be any valid RLaB commands
or functions. There is no limit to the number of functions
that a file can contain. Additionally, a mixture of commands,
and function definitions can be included in the same file.
Example:
> rfile roots.r poly bode
See Also: COMMAND, KEYWORDS, help, load, require